package com.cn.hnust.controller.hcontroller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;


@Controller
@RequestMapping(value = "/ht")
public class HIndexController {

 
    @RequestMapping("/toindex")
    private String toindex(Model model){
    
        return "index";
    }

    @RequestMapping("/tohome")
    private String home(Model model){
    
        return "home";
    }
}
   